@mixin corner-icon($name, $top-or-bottom, $left-or-right) {
  .icon-#{$name} {
    position: absolute;
    #{$top-or-bottom}: 0;
    #{$left-or-right}: 0;
  }
}

@mixin infinite-animtaion($animation-name, $duration) {

  @keyframes #{$animation-name} {
    @content;
  }

  animation-name: $animation-name;
  animation-duration: $duration;
  animation-iteration-count: infinite;

}